package cn.lidongyu.basic;

import lombok.Data;

import java.util.List;

@Data
public class PageQuery {
    private Integer pageNum=1;
    private Integer pageSize=10;
    private String keyword;


    public Integer getPage() {
        return (this.pageNum - 1) * this.pageSize;
    }
}
